package com.hsc.www;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ResourceController {

    @RequestMapping("publicSource")
    public WebResponse publicSource(){
        return WebResponse.success("public资源");
    }

    @RequestMapping("userSource")
    public WebResponse userSource(){
        return WebResponse.success("user资源");
    }

    @RequestMapping("adminSource")
    public WebResponse adminSource(){
        return WebResponse.success("admin资源");
    }

    //    String publicSourceUrl = "http://localhost:8082/publicSource";
    //    String userSourceUrl = "http://localhost:8082/userSource";
}
